import * as mongoose from 'mongoose';
import db from '../lib/db/mongodb';

const addExportSchema: mongoose.Schema = new mongoose.Schema({
    name_id:String,
    name_:String,
    date_:String,
    month:String,
    consumerCount_day:Number,//日均
    consumerCount_empl:Number,//人均
    comment:Number
   
}, { collection: 'addExport'});
export interface AddExport extends mongoose.Document {
  
    name_id:string;
    name_: string;
    date_: string;
    consumerCount_day: number;
    consumerCount_empl: number;
    month: string;
    comment: number
   
}
let addExportModel = db.model<AddExport>('addExport', addExportSchema);
export default addExportModel;